package com.example.demo.pojo.dto;

import com.example.demo.enumeration.Campus;
import com.example.demo.enumeration.ItemCategory;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
@ToString
public class OpenSearchAddItemDTO {
    private Long id;
    private String name;
    private String description;
    private BigDecimal price;
    private ItemCategory category;
    private Long userId;
    private List<Campus> campuses;

    public OpenSearchAddItemDTO() {
    }

    public OpenSearchAddItemDTO(Long id, String name, String description, BigDecimal price, ItemCategory category, Long userId, List<Campus> campuses) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.price = price;
        this.category = category;
        this.userId = userId;
        this.campuses = campuses;
    }
}
